package com.ruoyi.cat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.QiniuPrivateUrl;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投诉意见对象 cat_complaint
 * 
 * @author ruoyi
 * @date 2025-01-04
 */
public class CatComplaint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 投诉意见 */
    @Excel(name = "投诉意见")
    private String complaintOpinion;

    /** 图片 */
    @Excel(name = "图片")
    @QiniuPrivateUrl(isRichText = false)
    private String image;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noticeTime;

    /** 0 未处理 1已处理 */
    @Excel(name = "0 未处理 1已处理")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComplaintOpinion(String complaintOpinion) 
    {
        this.complaintOpinion = complaintOpinion;
    }

    public String getComplaintOpinion() 
    {
        return complaintOpinion;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setNoticeTime(Date noticeTime) 
    {
        this.noticeTime = noticeTime;
    }

    public Date getNoticeTime() 
    {
        return noticeTime;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("complaintOpinion", getComplaintOpinion())
            .append("image", getImage())
            .append("phone", getPhone())
            .append("noticeTime", getNoticeTime())
            .append("state", getState())
            .toString();
    }
}
